def anagram(str1,str2): # DO NOT modify this line 
    # TODO: add your code here
    return # You can modify or delete this line

# === DO NOT modify the code below ===
def main():
    a = input()
    b = input()
    print(anagram(a,b))
    
if __name__ == '__main__':
    main()